﻿namespace com.stifel.ProjectMgmt
{
    using System;
    using System.Web.UI;

    public partial class GanttDashboardUserControl : UserControl
    {
        #region Properties

        public bool ShowByDueDate
        {
            get;
            set;
        }

        public bool ShowOnlyImpactedProjects
        {
            get;
            set;
        }

        #endregion Properties

        #region Methods

        protected void Page_Load( object sender, EventArgs e )
        {
            if ( !Page.IsPostBack )
            {
                loadDefaults( );
                loadYearQuarter( );
                setUrlReferrer( );
                load( );
            }
        }

        protected void uiOk_Click( object sender, EventArgs e )
        {
            load( );
        }

        #endregion Methods
    }
}